/*
 * @Descripttion: 首字母大写
 * @Author: ziwei
 * @Date: 2022-09-08 16:18:47
 * @LastEditors: ziwei
 * @LastEditTime: 2022-09-08 16:53:57
 */
export default {}

type CapitializeString<T> = T extends `${infer L}${infer R}`?`${Uppercase<L>}${R}`:T

type A = CapitializeString<'abcd'>